package com.feeyin.radar.crm.service;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.feeyin.radar.crm.form.InvoiceForm;
import com.feeyin.radar.crm.form.InvoiceNewForm;
import com.feeyin.radar.crm.model.Invoice;

public abstract interface ContractInvoiceService
{
  public abstract List getInvoices(Integer paramInteger);

  public abstract BigDecimal getTotalInvoiceCost(Integer paramInteger);

  public abstract Date getMinInvoiceDate(Integer paramInteger);

  public abstract boolean insertInvoice(InvoiceForm paramInvoiceForm);
  
  public abstract boolean insertInvoiceNew(InvoiceNewForm invoiceNewForm);
  
  public abstract Invoice getInvoiceById(Integer id);
}